package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class ACreateResultVo {

    /** 工单号 */
    @Excel(name = "工单号")
    private String productionOrder;

    /** 入库批次 */
    @Excel(name = "入库批次")
    private String inBatchNo;

    /** 托号 */
    @Excel(name = "托号")
    private String palletNo;

    /** 箱号 */
    @Excel(name = "箱号")
    private String boxNo;

    /** 效率 */
    @Excel(name = "效率")
    private String efficiency;

    /** 颜色 */
//    @Excel(name = "颜色")
    private String color;

    /** 开压 */
    @Excel(name = "开压")
    private String pressure;

    /** 功率 */
    @Excel(name = "功率")
    private String power;

    /** 等级 */
//    @Excel(name = "等级")
    private String grade;

    /** 小包号 */
    @Excel(name = "小包号")
    private String packName;

    /** 电池片数量 */
    @Excel(name = "电池片数量", cellType = Excel.ColumnType.NUMERIC)
    private Integer packQty;

    /** 小包产出时间 */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm")
    @Excel(name = "小包产出时间", width = 30, dateFormat = "yyyy/MM/dd HH:mm")
    private Date packTime;

    private String packTime1;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;

    public ACreateResultVo() {
    }

    public ACreateResultVo(String productionOrder, String inBatchNo, String palletNo, String boxNo, String efficiency,
                           String color, String pressure, String power, String grade, String packName, Integer packQty, Date packTime) {
        this.productionOrder = productionOrder;
        this.inBatchNo = inBatchNo;
        this.palletNo = palletNo;
        this.boxNo = boxNo;
        this.efficiency = efficiency;
        this.color = color;
        this.pressure = pressure;
        this.power = power;
        this.grade = grade;
        this.packName = packName;
        this.packQty = packQty;
        this.packTime = packTime;
    }

    public String getProductionOrder() {
        return productionOrder;
    }

    public void setProductionOrder(String productionOrder) {
        this.productionOrder = productionOrder;
    }

    public String getInBatchNo() {
        return inBatchNo;
    }

    public void setInBatchNo(String inBatchNo) {
        this.inBatchNo = inBatchNo;
    }

    public String getPalletNo() {
        return palletNo;
    }

    public void setPalletNo(String palletNo) {
        this.palletNo = palletNo;
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public String getEfficiency() {
        return efficiency;
    }

    public void setEfficiency(String efficiency) {
        this.efficiency = efficiency;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPressure() {
        return pressure;
    }

    public void setPressure(String pressure) {
        this.pressure = pressure;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getPackName() {
        return packName;
    }

    public void setPackName(String packName) {
        this.packName = packName;
    }

    public Date getPackTime() {
        return packTime;
    }

    public void setPackTime(Date packTime) {
        this.packTime = packTime;
    }

    public Integer getPackQty() {
        return packQty;
    }

    public void setPackQty(Integer packQty) {
        this.packQty = packQty;
    }

    public String getPackTime1() {
        return packTime1;
    }

    public void setPackTime1(String packTime1) {
        this.packTime1 = packTime1;
    }

    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

}
